package com.parse.ast;

import com.lex.Token;

public class ClassDeclarationASTNode extends DeclarationTypesASTNode{

    private String superClassFullName;

    private ASTNode superClassDeclarationASTNode;

    private boolean isAbstract;

    public ClassDeclarationASTNode(ASTNodeType type, Modify modify, boolean isAbstract, ASTNode parent, Token token) {
        super(type, token, parent);
        this.setModify(modify);
        this.isAbstract = isAbstract;
    }


    public boolean isAbstract() {
        return isAbstract;
    }

    public void setAbstract(boolean anAbstract) {
        isAbstract = anAbstract;
    }

    public ASTNode getSuperClassDeclarationASTNode() {
        return superClassDeclarationASTNode;
    }

    public void setSuperClassDeclarationASTNode(ASTNode superClassDeclarationASTNode) {
        this.superClassDeclarationASTNode = superClassDeclarationASTNode;
    }

    public String getSuperClassFullName() {
        return superClassFullName;
    }

    public void setSuperClassFullName(String superClassFullName) {
        this.superClassFullName = superClassFullName;
    }
}
